package com.vinoxm.rss.dao;

import com.vinoxm.common.core.dao.BaseDao;
import com.vinoxm.rss.model.RssDetail;

import java.util.List;

public interface RssDetailDao extends BaseDao {
    void insertManyWithPid(List<? extends RssDetail> list, long pid);

    List<? extends RssDetail> selectByPid(long pid);

    int insertOne(RssDetail rssLink);

    int updateOne(RssDetail rssLink);

    int deleteOne(long id);

    int deleteManyByPid(long pid);

    Long selectPidById(long pid);
}
